package com.fc.mall.mapper;

import com.fc.mall.model.OmsBargain;
import com.fc.mall.model.OmsBargainExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface OmsBargainMapper {
    int countByExample(OmsBargainExample example);

    int deleteByExample(OmsBargainExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OmsBargain record);

    int insertSelective(OmsBargain record);

    List<OmsBargain> selectByExample(OmsBargainExample example);

    OmsBargain selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OmsBargain record, @Param("example") OmsBargainExample example);

    int updateByExample(@Param("record") OmsBargain record, @Param("example") OmsBargainExample example);

    int updateByPrimaryKeySelective(OmsBargain record);

    int updateByPrimaryKey(OmsBargain record);
}